<template>
  <div>
    计划管理
    <el-button @click="go('model')">模型管理</el-button>
    <el-button @click="go('productionplan')">生产计划</el-button>
    <el-button @click="go('mission')">任务单</el-button>
  </div>
</template>

<script>
export default {
  name:'',
  data () {
    return {
       
    };
  },
  methods:{
    go(val){
      switch (val){
        case 'model':
          this.$router.push('/model');
          break;
        case 'productionplan':
          this.$router.push('/productionplan');
          break;
        case 'mission':
          this.$router.push('/mission');
          break;
        default:
          break;
      }
    }
  }
}

</script>